﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JigLibX.Collision;

namespace PloobsEngine.Physics.XJigLib
{
    public class CollidesDelegation
    {
        public bool TRIANGLE_MESH_AND_IMMOBILE(CollisionSkin owner, CollisionSkin collidee)
        {
            if (collidee.Owner != null)
            {
                if (collidee.Owner.Immovable)
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
            return true;
        }
    }
}
